package com.huiminpay.merchant.exception;

public enum Week {
    EXPECTION("99999","全局异常");
    private String code;
    private String msg;

    private Week(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static void main(String[] args) {
        System.out.println(Week.EXPECTION.getCode());
        System.out.println(Week.EXPECTION.getMsg());
    }

}
